Fix signedness issue in xenlinux timer interrupt handler.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 8 Aug 2005 14:13:36 +0000 (14:13 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 8 Aug 2005 14:13:36 +0000 (14:13 +0000)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/xen/i386/kernel/time.c

index 6a0fde813c5ee711b67c0c1768e81cbf5b05e8dc..e188d0bcbf1eb92962d1a5427af4dce19fd8302d 100644 (file)
@@ -122,7 +122,7 @@ static u32 shadow_tv_version;
 static u64 processed_system_time;   /* System time (ns) at last processing. */
 static DEFINE_PER_CPU(u64, processed_system_time);
 
-#define NS_PER_TICK (1000000000ULL/HZ)
+#define NS_PER_TICK (1000000000L/HZ)
 
 static inline void __normalize_time(time_t *sec, s64 *nsec)
 {